package cn.net.lwj.sjqy.entity;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "t_employee")
public class Employee {
    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "NAME")
    private String name;

    @Column(name = "SEX")
    private String sex;

    @Column(name = "AGE")
    private Integer age;

    @Column(name = "DEPARTMENT")
    private String department;

    @Column(name = "SALARY")
    private Integer salary;

    @Column(name = "HOME")
    private String home;

    @Column(name = "MARRY")
    private String marry;

    @Column(name = "HOBBY")
    private String hobby;
}